package org.doublepane;


import com.sun.opengl.util.Animator;
import java.awt.event.WindowEvent;
import javax.media.opengl.GLCanvas;
import javax.swing.JPanel;



/**
 *
 * Compiler: jdk1.6.0_14 <br />
 * IDE: NetBeans 6.7.1 <br />
 * @author Andrew Smith <br />
 */
public class JOGLPanel extends JPanel
{
    //

    public JOGLPanel()
    {
        GLCanvas canvas = new GLCanvas();

        canvas.addGLEventListener(new SimpleJOGL());
        final Animator animator = new Animator(canvas);

        animator.start();

    }
}
